package com.qf.joint.pojo;


import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @Author Zhy
 * Date on 2020/9/12  22:20
 * @description 招聘职位表
 */

public class Recruitpost {
    //rpid,rid,post,type,salary,experience,education,key,details
    private Integer rpid;
    private Integer rid;
    private String post;
    private String posttype;
    private String salary;
    private String experience;
    private String education;
    private String rpkey;
    private String details;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Recruiter recruiter;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Company company;

    @Override
    public String toString() {
        return "Recruitpost{" +
                "rpid=" + rpid +
                ", rid=" + rid +
                ", post='" + post + '\'' +
                ", posttype='" + posttype + '\'' +
                ", salary='" + salary + '\'' +
                ", experience='" + experience + '\'' +
                ", education='" + education + '\'' +
                ", rpkey='" + rpkey + '\'' +
                ", details='" + details + '\'' +
                ", recruiter=" + recruiter +
                ", company=" + company +
                '}';
    }

    public Recruitpost(Integer rpid, Integer rid, String post, String posttype, String salary, String experience, String education, String rpkey, String details, Recruiter recruiter, Company company) {
        this.rpid = rpid;
        this.rid = rid;
        this.post = post;
        this.posttype = posttype;
        this.salary = salary;
        this.experience = experience;
        this.education = education;
        this.rpkey = rpkey;
        this.details = details;
        this.recruiter = recruiter;
        this.company = company;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public Recruiter getRecruiter() {
        return recruiter;
    }

    public void setRecruiter(Recruiter recruiter) {
        this.recruiter = recruiter;
    }


    public Recruitpost() {
    }

    public Integer getRpid() {
        return rpid;
    }

    public void setRpid(Integer rpid) {
        this.rpid = rpid;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getPosttype() {
        return posttype;
    }

    public void setPosttype(String posttype) {
        this.posttype = posttype;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public String getExperience() {
        return experience;
    }

    public void setExperience(String experience) {
        this.experience = experience;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getRpkey() {
        return rpkey;
    }

    public void setRpkey(String rpkey) {
        this.rpkey = rpkey;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }
}
